import { http } from '@/utils/http/axios';

export function pageErpField(data = {}) {
  return http.request({
    url: '/admin/sys/erpField/page',
    method: 'post',
    data,
  });
}

export function addErpField(data = {}) {
  return http.request({
    url: '/admin/sys/erpField/add',
    method: 'post',
    data,
  });
}

export function updateErpField(data = {}) {
  return http.request({
    url: '/admin/sys/erpField/update',
    method: 'post',
    data,
  });
}

export function delErpField(data = {}) {
  return http.request({
    url: '/admin/sys/erpField/delete',
    method: 'post',
    data,
  });
}

export function infoErpField(data = {}) {
  return http.request({
    url: '/admin/sys/erpField/info',
    method: 'post',
    data,
  });
}

export function listInfoErpFieldList(data = []) {
  return http.request({
    url: '/admin/sys/erpField/listInfo',
    method: 'post',
    data,
  });
}
